lcBlockGetEntByKey Home

Returns a handle to the graphic object which LC_PROP_ENT_KEY property match the specified value. The functions searches only in specified block.

 HANDLE lcBlockGetEntByKey (
   HANDLE hBlock,
   int Key
 );

Parameters
hBlock
  Handle to a block.
Key
  Value of LC_PROP_ENT_KEY property.

Return Value

  Handle to a graphic object.
If an object with specified identifier is not found, the function returns NULL.

See Also

  lcBlockGetEntByIDlcDrwGetEntByKeylcWndGetEntByKey